package com.neusoft.yiyang.customer.client;

import com.neusoft.yiyang.common.entity.diet.DietTag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "diet-service")
public interface DietClient {

    @GetMapping("/diet-tags/all")
    List<DietTag> getAllDietTags();
}
